/**
 *
 * @author
 *
 */
class OpPage extends egret.DisplayObjectContainer {

    public constructor() {
        super();
        this.width = 1200;
        this.height = 750;
        this.x = 0;
        this.y = 0;
    }

    public reset(): void {
        this.alpha = 1;
    }

    public hide(callback?: Function,context?: any): void {
        egret.Tween.get(this).to({ alpha: 0 },2000,egret.Ease.quartInOut).call(function() {
            callback && callback.call(context);
        });
    }

    public play(callback?: Function,context?: any): void {
        callback && callback.call(context);
    }

    public enableTouch(): void {}

    public oneTouch(event: egret.TouchEvent): void {}
}
